<% form_remote_for(@match) do |f| %>
  <%= f.error_messages %>
  <p>
    <%= f.label :oponent_id %><br />
	<%= f.collection_select(:oponent_id, User.find(:all, :conditions => ["id <> #{@current_user.id}"]), :id, :login)%>
  </p>
  <p>
	<%= f.label :league_game %><br />
	<%= f.check_box :league_game %>
  </p>
  <p>
    <%= f.label :date %><br />
    <%= f.datetime_select :date %>
  </p>
  <p>
    <%= f.submit "Add" %>
  </p>
<% end %>
